package com.syun.spring.ioc.core.bean;

import java.util.ArrayList;
import java.util.List;

public class BeanDefinition {
    private String beanName;
    private String className;
    private Class beanClass;
    private List<Property> properties = new ArrayList<Property>();

    public BeanDefinition(){

    }
    public BeanDefinition(String beanName, String  className){
        this.beanName = beanName;
        this.className = className;
    }

    public String getBeanName() {
        return beanName;
    }

    public void setBeanName(String beanName) {
        this.beanName = beanName;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }


    public List<Property> getProperties() {
        return properties;
    }

    public void setProperties(List<Property> properties) {
        this.properties = properties;
    }

    public Class getBeanClass() {
        return beanClass;
    }

    public void setBeanClass(Class beanClass) {
        this.beanClass = beanClass;
    }
}
